<script setup>
import "@material/web/select/outlined-select";
import "@material/web/select/select-option";
import YearPicker from "@/components/datepicker/YearPicker.vue";


const startYear = defineModel("startYear", {default: new Date().getFullYear()});
const endYear = defineModel("endYear", {default: new Date().getFullYear()});

</script>

<template>
  <div class="year-picker-area">
    <YearPicker label="开始年份" v-model="startYear"></YearPicker>
    <YearPicker label="结束年份" v-model="endYear"></YearPicker>
  </div>
</template>